import { Component } from "react"
import "../../common.css"
import "./index.css"

export default class App extends Component {
  constructor() {
    super()
  }

  render() {
    const { leftEl, centerEl, rightEl } = this.props
    return (
      <div className="justify-around wrap">
        <div className="left">{leftEl}</div>
        <div className="center">{centerEl}</div>
        <div className="right">{rightEl}</div>
      </div>
    )
  }
}
